Installation¶
Requirements¶
- Python 3
- PyTorch
- [OPTIONAL] Tensorboard.
- MuJoCo
v200
. - mujoco_py and Gym.
- dm_control.
Note
If you are a student, you can get a free student license for MuJoCo.
Installation¶
Simply download the package using the following command and add it to your PYTHONPATH
:
Set your environment¶
Add the following to your .bashrc
or .zshrc
:
# Assuming you have installed mujoco in '$HOME/.mujoco'
export LD_LIBRARY_PATH=$HOME/.mujoco/mujoco200_linux/bin:$LD_LIBRARY_PATH
export MUJOCO_GL=glfw
Patch dm_control
initialization issue¶
If you hit an error regarding GLFW initialization, try the following patch:
Go to the digideep
installation path and run:
cd <digideep_path>
cp patch/glfw_renderer.py `pip show dm_control | grep -Po 'Location: (\K.*)'`/dm_control/_render